﻿package tests;
import mclight.buttons.PushButton;
import flash.events.Event;
import flash.events.MouseEvent;

class PushButtonTest extends GenericTest
{
	public function new() 
	{
		super();
	}
	
	override function init()
	{
		var button = new PushButton(this, 0, 0, 'PushButton', onButtonClick);
		//button.addEventListener(MouseEvent.CLICK, onButtonClick);
	}
	
	function onButtonClick(button:PushButton)
	{
		trace('click');
	}
}